package com.gettong.test.SpringCloudFeignConsumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableFeignClients("com.gettong.test.SpringCloudCommon.feign")
@ComponentScan({"com.gettong.test.SpringCloudFeignConsumer", "com.gettong.test.SpringCloudCommon.feign.fallback"})
public class SpringCloudFeignConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringCloudFeignConsumerApplication.class, args);
    }

}
